//Naming
Name HMMWV M1037
ShortName M1037
//Visuals
Icon IconM1037
Model usamw.m1037
Texture M1037
RotateWheels True
//Third Person Camera Distance
CameraDistance 8.0
//Throttle
MaxThrottle 1.0
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 2
TurnRightSpeed 2
//Drag
Drag 1.0
//Mass (In tons)
Mass 1.0
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 10.0
//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 0.3
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -48 -10 24
WheelPosition 1 -48 -10 -25
WheelPosition 2 20 -10 -25
WheelPosition 3 20 -10 24
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 1000
//Inventory Slots
CargoSlots 36
ShellSlots 0
//Driver and passenger positions
Driver 0 6 -14
Passengers 5
Passenger 1 0 6 13 core
Passenger 2 -16 16 -19 core
Passenger 3 -30 16 -19 core
Passenger 4 -44 16 -19 core
Passenger 5 -16 16 19 core
//Delays are in ticks or 1/20ths of seconds
ShootDelay 999
ShellDelay 999
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSound bullet
ShellSound shell
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 smallChassis 3 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts backLeftWheel 1 wheel
AddRecipeParts backRightWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 green
//Health and collision
SetupPart core 100 -24 -6 -16 48 12 32
SetupPart backLeftWheel 100 -20 -10 -16 8 8 2
SetupPart backRightWheel 100 -20 -10 14 8 8 2
SetupPart frontLeftWheel 100 12 -10 -16 8 8 2
SetupPart frontRightWheel 100 12 -10 14 8 8 2
BulletDetection 5
